<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<%@include file="/common/taglib.jsp"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />

<title>普田学院学籍管理系统</title>
<link rel="stylesheet" media="screen,projection" type="text/css"	href="css/reset.css" />
<link rel="stylesheet" media="screen,projection" type="text/css"	href="css/main.css" />
<!--[if lte IE 6]><link rel="stylesheet" media="screen,projection" type="text/css" href="css/main-ie6.css" /><![endif]-->
<link rel="stylesheet" media="screen,projection" type="text/css"	href="css/style.css" />
<link rel="stylesheet" media="screen,projection" type="text/css"	href="css/mystyle.css" />
<link href="css/grid/grid.css" type="text/css" rel="stylesheet"	media="screen" />
<link href="css/calendar.css" rel="stylesheet" type="text/css">
<script type="text/javascript" src="js/jquery.js"></script>
 
<script language="javascript" src="js/lodop.js"></script>
<object id="LODOP" classid="clsid:2105C259-1E0C-4534-8141-A753534CB4CA" width=0 height=0> 
	<embed id="LODOP_EM" type="application/x-print-lodop" width=0 height=0 pluginspage="install_lodop.exe"></embed>
</object> 




</head>
<body>
<%@include file="/front/head.jsp"%>
	<html:form action="writeReceipt" method="post">
		<input type="hidden" name="callMethod" id="callMethod"	value="submitUser" />

		<html:hidden property="userVO.id" styleId="userVO.id" />
			
				<div id="menu" class="row">
					<div class="column grid_16">
						<ul class="box">
								<li id="menu-active"><a href="writeReceipt.do?callMethod=returnToList"><strong><span>当前共有&nbsp;<b class="red"><%=request.getAttribute("dataCount") %></b>&nbsp;条学生档案 </span> </strong></a></li>
						</ul>
					</div>
				</div>
			
<div id="content"  class="row ireadonly">
  <div class="column grid_16">
  
   <fieldset>
<legend>本人基本资料</legend>
 <table width="100%" border="1" cellspacing="10"  cellpadding="10" class="nostyle">
  <tr>
    <td width="9%" style="text-align:right" >姓名:</td>
    <td width="16%"><nested:write property="userVO.userName" /></td>
    <td width="9%" style="text-align:right">年龄:</td>
    <td width="16%"><nested:write property="userVO.age" /></td>
      <td width="9%" style="text-align:right" >身份证号:</td>
    <td width="16%">
	<nested:write property="userVO.sfz"  />
	</td>
    <td width="9%" style="text-align:right">性别:</td>
    <td width="16%">
	<nested:write property="userVO.sex" />
	</td>
    
  </tr>
   <tr>
   <td width="9%" style="text-align:right">农(居)民:</td>
    <td >
    <nested:write property="userVO.nm" />
	</td>
     <td width="9%" style="text-align:right" >籍贯:</td>
    <td width="16%"><nested:write property="userVO.jg" /></td>
    <td width="9%" style="text-align:right">民族:</td>
    <td width="16%"><nested:write property="userVO.mz"/></td>
    <td width="9%" style="text-align:right">出生年月:</td>
    <td >
    <nested:write property="userVO.birthday"/>
	</td>
  </tr>
   <tr>
     <td width="9%" style="text-align:right" >入学时间:</td>
    <td >
     <nested:write property="userVO.rxsj"/>

</td>
    <td width="9%" style="text-align:right">专业:</td>
    <td width="16%">
    <nested:write property="userVO.zy"/>
		
  </td>
    <td width="9%" style="text-align:right">班级:</td>
    <td width="16%" colspan="3">
	<nested:write property="userVO.bj" />
	</td>
  </tr>
  <tr>
     <td width="9%" style="text-align:right" >户籍所在地:</td>
    <td colspan="7">
    <nested:write property="userVO.hj_sheng"/>
	
		
		<nested:write property="userVO.hj_xian" />县（市）
		<nested:write property="userVO.hj_xiang" />乡（镇）
		<nested:write property="userVO.hj_cun" />村
		<nested:write property="userVO.hj_zu" />组

	</td>
    
  </tr>
  
  
 
  
  </table>
  </fieldset>
<br />
  </div>
</div>

<aa:zone name="jlZone">
<input type="hidden"  id="jlId" name="jlId"/>	
<div id="content"  class="row ireadonly">
  <div class="column grid_16">
   <h4 class="tit">本人简历</h4>
  <table id="jlTable"  width="100%" border="0" cellspacing="0" cellpadding="0" style="text-align: center;" class="nostyle">	 	 	 	 	 	 	 	
  <tr>
    <td width="32%">何年何月至何年何月</td>
    <td width="32%">在何校学习</td>
    <td width="32%">备注</td>
   
   
  </tr>
  <nested:iterate property="userVO.jlList" id="jlVO" indexId="jlid">
  <tr>
    <td><nested:write property="hnhy" /></td>
    <td><nested:write property="hx" /></td>
    <td><nested:write property="zmr" /></td>
  
  </tr>
  </nested:iterate>
</table>
<br />
</div>
</div>
</aa:zone>



<aa:zone name="jtZone">
<input type="hidden"  id="jtId" name="jtId"/>				
<div id="content"  class="row">
  <div class="column grid_16">
   <h4 class="tit">家庭主要成员</h4>
  <table  id="jtTable" width="100%" border="0" cellspacing="0" cellpadding="0" style="text-align: center;" class="nostyle">	 	 	 	 	 	 	 	
  <tr>
    <td width="16%">关系</td>
    <td width="16%">姓名</td>
    <td width="16%">年龄</td>
    <td width="16%">政治面貌</td>
    <td width="16%">职业</td>
    <td width="16%">工作单位及职务</td>
   
   
  </tr>
  <nested:iterate property="userVO.jtList" id="jtVO" indexId="jtid">
  
  <tr>
    <td><nested:write property="gx" /></td>
    <td><nested:write property="xm" /></td>
    <td><nested:write property="nl" /></td>
    <td><nested:write property="zzmm" /></td>
    <td><nested:write property="zy" /></td>
    <td><nested:write property="gzdw" /></td>
   
  </tr>
  </nested:iterate>
</table>
<br />

</aa:zone>

<br>
			
	</div>
</div>	


<div id="content"  class="row ireadonly">
  <div class="column grid_16">
   <h4 class="tit">照片和身份证预览
   
   </h4>
  <table id="jlTable"  width="100%" border="0" cellspacing="0" cellpadding="0" style="text-align: center;">	 	 	 	 	 	 	 	
  <tr>
    <td  width="20%">照片预览<br>
   <img id='zp_img' width="120"  height="150" src="/tx/<nested:write property="userVO.zp" />">
    </td>
     <td  width="30%">身份证正面预览<br>
   <img id='sfz_z_img' width="210"  height="330" src="/tx/<nested:write property="userVO.sfz_z" />">
    </td>
    <td width="30%">身份证反面预览<br>
   <img id='sfz_f_img' width="210"  height="330" src="/tx/<nested:write property="userVO.sfz_f" />">
    </td>
    <td >指纹预览<br>
   <img width="100"  height="100" src="/tx/<nested:write property="userVO.zw" />">
    </td>
  </tr>
  
</table>



<br />
</div>
</div>

<div style="display: none;" id="printData">
<%@include file="/front/sheet001.jsp"%>
</div>




	<table width="99%" border="0">
				<tr>
					<td style="text-align: center;width:95%">
					
					<input type="button"  class="input-submit"  value="打印学生资料" onclick="print();"/>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
					<input type="button"  class="input-submit"  value="返回" onclick="returnToPre();" />
					</td>
					
				</tr>
				</table>
			
				<br>
				
		<script type="text/javascript">
		
		function returnToPre(){
			history.go(-1);
			return false;
		}
			
		function print(){
			var LODOP=getLodop(document.getElementById('LODOP'),document.getElementById('LODOP_EM'));  
			LODOP.SET_PREVIEW_WINDOW(1,1,0,800,600,"打印");//打印前弹出选择打印机的对话框
			LODOP.SET_PRINT_PAGESIZE(0,"210mm","297mm","A4");
			LODOP.SET_PRINT_MODE("AUTO_CLOSE_PREWINDOW",1);//打印后自动关闭预览窗口
			LODOP.SET_SHOW_MODE("HIDE_PAPER_BOARD",1);
			var strStyleCSS="<link href='css/stylesheet.css' type='text/css' rel='stylesheet'>";
			var strFormHtml=strStyleCSS+"<body>"+document.getElementById("printData").innerHTML+"</body>";
			LODOP.ADD_PRINT_HTM(0,30,300,1200,strFormHtml);
			LODOP.PREVIEW();
		};	
			
		</script>
		
	
	</html:form>
	

</body>
</html>